#include "GameController.h"
#include "GameManager.h"
#include "MenuManager.h"

GameController::GameController() {
	gm_ = new GameManager;
	mm_ = new MenuManager(gm_, this);
	mm_->SetMenu(mm_->GetStartingMenu());
}

GameController::~GameController() {
	delete mm_;
	delete gm_;
}

void GameController::Restart() {
	gm_->Restart();
}

bool GameController::Save(const char* const filename) {
	return gm_->Save(filename);
}

bool GameController::Load(const char* const filename) {
	return gm_->Load(filename);
}
